package com.ruoyi.report.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报告编号管理对象 bgbh
 * 
 * @author ruoyi
 * @date 2023-10-17
 */
@ApiModel("报告编号对象")
public class Bgbh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 委托单位 */
    @Excel(name = "委托单位")
    @ApiModelProperty(value = "委托单位")
    private String customer;

    /** 报告类别 */
    @Excel(name = "报告类别")
    @ApiModelProperty(value = "报告类别")
    private String type;

    /** 受检设备 */
    @Excel(name = "受检设备")
    @ApiModelProperty(value = "受检设备")
    private String equName;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private String nums;

    /** 主检人 */
    @Excel(name = "主检人")
    @ApiModelProperty(value = "主检人")
    private String mainTester;

    /** 报告编号 */
    @Excel(name = "报告编号")
    @ApiModelProperty(value = "报告编号")
    private String bgbh;

    /** 报告编号状态 */
    @Excel(name = "报告编号状态")
    @ApiModelProperty(value = "报告编号状态")
    private String state;

    /** 地区 */
    @Excel(name = "地区")
    @ApiModelProperty(value = "地区")
    private String area;

    /** 检测地点 */
    @Excel(name = "检测地点")
    @ApiModelProperty(value = "检测地点")
    private String testPlace;

    /** 检测人员 */
    @Excel(name = "检测人员")
    @ApiModelProperty(value = "检测人员")
    private String subTester;

    /** 报告编号子集 */
    @Excel(name = "报告编号子集")
    @ApiModelProperty(value = "报告编号子集")
    private String cbgbh;

    /** 检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "检测日期")
    private Date testDate;

    /** 下次检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "下次检测日期")
    private Date nextTestdate;

    /** 委托单号 */
    @Excel(name = "委托单号")
    @ApiModelProperty(value = "委托单号")
    private String agreementNum;

    /** 受检设备编号 */
    @Excel(name = "受检设备编号")
    @ApiModelProperty(value = "受检设备编号")
    private String equNum;

    /** 检测年份 */
    @Excel(name = "检测年份")
    @ApiModelProperty(value = "检测年份")
    private String years;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCustomer(String customer) 
    {
        this.customer = customer;
    }

    public String getCustomer() 
    {
        return customer;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setEquName(String equName) 
    {
        this.equName = equName;
    }

    public String getEquName() 
    {
        return equName;
    }
    public void setNums(String nums) 
    {
        this.nums = nums;
    }

    public String getNums() 
    {
        return nums;
    }
    public void setMainTester(String mainTester) 
    {
        this.mainTester = mainTester;
    }

    public String getMainTester() 
    {
        return mainTester;
    }
    public void setBgbh(String bgbh) 
    {
        this.bgbh = bgbh;
    }

    public String getBgbh() 
    {
        return bgbh;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setTestPlace(String testPlace) 
    {
        this.testPlace = testPlace;
    }

    public String getTestPlace() 
    {
        return testPlace;
    }
    public void setSubTester(String subTester) 
    {
        this.subTester = subTester;
    }

    public String getSubTester() 
    {
        return subTester;
    }
    public void setCbgbh(String cbgbh) 
    {
        this.cbgbh = cbgbh;
    }

    public String getCbgbh() 
    {
        return cbgbh;
    }
    public void setTestDate(Date testDate) 
    {
        this.testDate = testDate;
    }

    public Date getTestDate() 
    {
        return testDate;
    }
    public void setNextTestdate(Date nextTestdate) 
    {
        this.nextTestdate = nextTestdate;
    }

    public Date getNextTestdate() 
    {
        return nextTestdate;
    }
    public void setAgreementNum(String agreementNum) 
    {
        this.agreementNum = agreementNum;
    }

    public String getAgreementNum() 
    {
        return agreementNum;
    }
    public void setEquNum(String equNum) 
    {
        this.equNum = equNum;
    }

    public String getEquNum() 
    {
        return equNum;
    }
    public void setYears(String years) 
    {
        this.years = years;
    }

    public String getYears() 
    {
        return years;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customer", getCustomer())
            .append("type", getType())
            .append("equName", getEquName())
            .append("nums", getNums())
            .append("mainTester", getMainTester())
            .append("bgbh", getBgbh())
            .append("state", getState())
            .append("area", getArea())
            .append("testPlace", getTestPlace())
            .append("subTester", getSubTester())
            .append("cbgbh", getCbgbh())
            .append("testDate", getTestDate())
            .append("nextTestdate", getNextTestdate())
            .append("agreementNum", getAgreementNum())
            .append("equNum", getEquNum())
            .append("years", getYears())
            .toString();
    }
}
